<!DOCTYPE html>
<html>
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>星空管理界面</title>
    <style>
      body {
        margin: 0;
        padding: 0;
        overflow: hidden;
      }

      .container {
        position: relative;
        width: 100%;
        height: 100vh;
        overflow: hidden;
      }

      .background {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: url("https://img1.imgtp.com/2023/07/07/p341Bu48.jpg");
        background-size: cover;
        background-position: center;
        z-index: -1;
      }

      .content {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 100%;
        height: 100%;
      }

      h1 {
        font-family: Arial, sans-serif;
        color: #fcfcfc;
        font-size: 36px;
        margin-bottom: 24px;
        text-align: center;
      }

      .button-group {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: 10px;
        display: flex;
        flex-direction: column;
      }
      .h-group {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: 29px;
        position: absolute;
        top: 53%;
        left: -1%;
      }

      .button {
        padding: 20px 24px;
        background-color: #33333300;
        border: none;
        color: #fff;
        font-size: 10px;
        cursor: pointer;
        margin-left: 1%;
        width: 20%;
      }

      .h2 {
        padding: 20px 24px;
        border: none;
        color: #fff;
        font-size: 36px;
        margin-bottom: 24px;
        text-align: center;
        font-weight: bold;
        top: 10%;
        margin-left: 13%;
      }

      .container-button {
        display: flex;
        justify-content: space-evenly;
        align-items: center;
        padding: 20px;
      }

      .button-group {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-right: 15%;
      }

      button {
        background-color: #4caf50;
        color: white;
        padding: 10px 20px;
        border: none;
        border-radius: 5px;
        font-size: 16px;
      }

      p {
        font-size: 28px;
        margin: 0;
        color: #fff;
        font-weight: bolder;
        font-family: 楷体;
      }

      .image-container {
      text-align: center;
    }
  
    img {
      transition: transform 0.09s ease;
    }
  
    .small {
      transform: scale(0.7);
    }
    </style>
  </head>

  <body>
    <div class="container">
      <div class="background"></div>
      <div class="content">
        <h1>欢迎来到星空管理界面</h1>
        <div class="container-button">
          <div class="button-group">
            <div class="image-container" >
                <img
                id="yard"
                src="https://img1.imgtp.com/2023/07/07/T0SUA4ko.png"
                style="width: 70px"
                ontouchstart="shrinkImage(this)" ontouchend="restoreImage(this)"
              />
            </div>

            <p>院子</p>
          </div>
        </div>
      </div>
    </div>
  </body>
</html>



<style>

  </style>
  
  <!-- <div class="image-container">
    <img src="https://img1.imgtp.com/2023/07/07/T0SUA4ko.png" alt="图片" 
         ontouchstart="shrinkImage(this)" ontouchend="restoreImage(this)">
  </div> -->
  
  <script src="index.js">
  </script>